package com.erp.erp_servers.CustomerPool;

import com.erp.erp_entitys.CustomerPool.CustomerPoolEntity;
import com.erp.erp_entitys.CustomerPool.CustomerPoolExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName ICustomerPoolService
 * @Description TODO
 * @Author songjizhen
 * @Date 2020-06-29 20:05
 * @Version 1.0
 */
public interface ICustomerPoolService {
    long countByExample(CustomerPoolExample example);

    int deleteByExample(CustomerPoolExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CustomerPoolEntity record);

    int insertSelective(CustomerPoolEntity record);

    List<CustomerPoolEntity> selectByExample(CustomerPoolExample example);

    CustomerPoolEntity selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CustomerPoolEntity record, @Param("example") CustomerPoolExample example);

    int updateByExample(@Param("record") CustomerPoolEntity record, @Param("example") CustomerPoolExample example);

    int updateByPrimaryKeySelective(CustomerPoolEntity record);

    int updateByPrimaryKey(CustomerPoolEntity record);
}
